package View;

import Model.Book;
import com.twu.biblioteca.BibliotecaApp;
import com.twu.biblioteca.KeyboardUserInput;
import com.twu.biblioteca.Message;

public class ReserveBookView {
    KeyboardUserInput keyInput;
    public ReserveBookView(){
        keyInput = new KeyboardUserInput();
    }
    public int getBookId(){
        return keyInput.acceptValidIntRangeInput(0, BibliotecaApp.library.getBookLibrarySize() - 1, "Enter the Book Id: ");
    }
    public void printReserveMessage(Book book){
        Message.printReservationStatus(book);
    }
}
